﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using FluentNHibernate.Mapping;

namespace AssetAllocationSystem.Models.Mapping
{
    public class RequestMapping : ClassMap<Request>
    {
        public RequestMapping()
        {
            Table("Request");
            Id(a => a.Id);
            References(a => a.Employee).Column("Employee_Id");
            HasMany(a => a.Assets);
        }
    }
}